package com.abcode.ybbemail.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:config/sys.properties")
@ConfigurationProperties(prefix = "sys")//前缀
public class SysProperties {
    private Boolean tokenopen;

    private Integer tokentimeout;

    private Boolean encryptopen;

    private String mailfrom;

    private String analysisfilepath;

    private String uncompressscript;

    private String projectDataDownloadTemplate;

    private String limsProjectUrl;


    public Boolean getTokenOpen() {
        return tokenopen;
    }

    public void setTokenOpen(Boolean tokenopen) {
        this.tokenopen = tokenopen;
    }

    public Integer getTokentimeout() {
        return tokentimeout;
    }

    public void setTokentimeout(Integer tokentimeout) {
        this.tokentimeout = tokentimeout;
    }

    public Boolean getEncryptopen() {
        return encryptopen;
    }

    public void setEncryptopen(Boolean encryptopen) {
        this.encryptopen = encryptopen;
    }

    public Boolean getTokenopen() {
        return tokenopen;
    }

    public void setTokenopen(Boolean tokenopen) {
        this.tokenopen = tokenopen;
    }

    public String getMailfrom() {
        return mailfrom;
    }

    public void setMailfrom(String mailfrom) {
        this.mailfrom = mailfrom;
    }

    public String getAnalysisfilepath() {
        return analysisfilepath;
    }

    public void setAnalysisfilepath(String analysisfilepath) {
        this.analysisfilepath = analysisfilepath;
    }

    public String getUncompressscript() {
        return uncompressscript;
    }

    public void setUncompressscript(String uncompressscript) {
        this.uncompressscript = uncompressscript;
    }

    public String getProjectDataDownloadTemplate() {
        return projectDataDownloadTemplate;
    }

    public void setProjectDataDownloadTemplate(String projectDataDownloadTemplate) {
        this.projectDataDownloadTemplate = projectDataDownloadTemplate;
    }

    public String getLimsProjectUrl() {
        return limsProjectUrl;
    }

    public void setLimsProjectUrl(String limsProjectUrl) {
        this.limsProjectUrl = limsProjectUrl;
    }
}
